<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
	<base href="<%=basePath%>">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>停车场用户--${headerTitle }</title>
	
  	<meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1";/><!-- IE的渲染模式 -->
    <meta name="keywords" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="description" content="信帧,teleframe,iparking,I停车,爱停车,blackshadowwalker" />
	<meta name="author" content="blackshadowwalker" />
    
	<link href="bootstrap/3/css/bootstrap.css" rel="stylesheet"/>
	<link href="index/css/justified-nav.css" rel="stylesheet">
	<link href="index/css/style.css" rel="stylesheet" >

	<script src="scripts/jquery/jquery-1.7.min.js"></script>
	<script src="bootstrap/3/js/bootstrap.min.js"></script>
	<link href="bootstrap/3/css/datepicker.css" rel="stylesheet"/>
	<script src="bootstrap/3/js/bootstrap-datepicker.js"></script>
	
	<script src="scripts/validateForm.js?t=123"></script>
	<link href="css/common.css" rel="stylesheet"/>
	
	<style>
		body{
			margin-left: 10px;
			margin-top: 7px;
		}
	</style>

</head>

<body>
<div>
	<div>
		<div class="alert-info" style="">
			<a href="${action}" class="btn btn-warning">返回</a>
			<div style="display:inline;margin-left:30px;color:#f00;">
				${msg }
			</div>
		</div >
	</div>
		<form id="myform" name="myform" class="form-horizontal" role="form"  action="${action }?id=${id}&method=${method}" method="post" >
			<div class="form-group">
				<label class="col-sm-2 control-label">车主头像:</label>
				<div class="col-sm-5">
				<img src="${commen.userinfo.userPhoto}" alt="车主头像" style="width:120px;height:130px;cursor:pointer;"/>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span> 车主姓名：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control"
						value="${commen.userinfo.realName}" readonly/>
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>留言内容：</label>
				<div class="col-sm-5">
					<textarea type="text" class="form-control"
						readonly>${commen.content}</textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>留言时间：</label>
				<div class="col-sm-5">
					<input type="text" class="form-control" value="<s:date name="commen.createTime" format="yyyy-MM-dd hh:mm:ss" />"  placeholder="预定时间" readonly/>
				</div>
				
			</div>
				<div class="form-group">
				<label class="col-sm-2 control-label"><span
					style="color:#f00"></span>回复内容：</label>
				<div class="col-sm-5">
					<textarea type="text" class="form-control" name="comment"  placeholder="回复留言内容"></textarea>
				</div>
			</div>
			<div class="form-group">
		    <label for="inputEmail3" class="col-sm-2 control-label"> </label>
		    <div class="col-sm-5">
	    			<input class="btn btn-success btn-lg btn-block"  type=submit value="${headerTitle}"   />
					<input class="btn btn-primary btn-lg btn-block"  type="reset" value="重置"  />
		     </div>
		  </div>
			</form>
	</div>
	</body>
</html>